#include "lcd_extra.h"
#include "display_drv.h"
void lcd_extra_config(void)
{
    oled_write_cmd(0xB2);
    oled_write_data(0x0C);
    oled_write_data(0x0C);
    oled_write_data(0x00);
    oled_write_data(0x33);
    oled_write_data(0x33);

    oled_write_cmd(0xB7);
    oled_write_data(0x35);

    oled_write_cmd(0xBB);  // VCOM
    oled_write_data(0x15); // 05

    oled_write_cmd(0xC0);
    oled_write_data(0x2C);

    oled_write_cmd(0xC2);
    oled_write_data(0x01);

    oled_write_cmd(0xC3);
    oled_write_data(0x13);

    oled_write_cmd(0xC4);
    oled_write_data(0x20);

    oled_write_cmd(0xC6); // Inversion
    oled_write_data(0x17);

    oled_write_cmd(0xD0);
    oled_write_data(0xA4);
    oled_write_data(0xA1);

    oled_write_cmd(0xD6);
    oled_write_data(0xA1);

    oled_write_cmd(0xE4);
    oled_write_data(0x1D);
    oled_write_data(0x00);
    oled_write_data(0x00);

    oled_write_cmd(0xE0);
    oled_write_data(0xF3);
    oled_write_data(0x11);
    oled_write_data(0x19);
    oled_write_data(0x0A);
    oled_write_data(0x09);
    oled_write_data(0x06);
    oled_write_data(0x3D);
    oled_write_data(0x33);
    oled_write_data(0x50);
    oled_write_data(0x36);
    oled_write_data(0x13);
    oled_write_data(0x13);
    oled_write_data(0x2D);
    oled_write_data(0x32);

    oled_write_cmd(0xE1);
    oled_write_data(0xF3);
    oled_write_data(0x0F);
    oled_write_data(0x15);
    oled_write_data(0x0B);
    oled_write_data(0x0B);
    oled_write_data(0x17);
    oled_write_data(0x3A);
    oled_write_data(0x54);
    oled_write_data(0x4E);
    oled_write_data(0x38);
    oled_write_data(0x14);
    oled_write_data(0x14);
    oled_write_data(0x2E);
    oled_write_data(0x34);
}
